package com.example.demo.entity.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

@Data
@ApiModel(description = "文件上传传参")
public class UploadDTO {
    @ApiModelProperty("分片文件内容")
    private MultipartFile chunk;

    @ApiModelProperty("分片文件序号")
    private int currentChunk;

    @ApiModelProperty("分片文件名称")
    private String fileName;

    @ApiModelProperty("上传结束标识")
    private int isEnd;
}
